﻿using System;

class ComplexTest
{
    static void Main(string[] args)
    {
        Complex c = new Complex(1, 2);
        double d1 = (double)c;
        Console.WriteLine(d1);
    }
}
